package com.ruoyi.car.mapper;

import java.util.List;
import com.ruoyi.car.domain.CarLoan;

/**
 * 贷款配置Mapper接口
 * 
 * @author ruoyi
 * @date 2024-04-07
 */
public interface CarLoanMapper 
{
    /**
     * 查询贷款配置
     * 
     * @param id 贷款配置主键
     * @return 贷款配置
     */
    public CarLoan selectCarLoanById(Long id);

    /**
     * 查询贷款配置列表
     * 
     * @param carLoan 贷款配置
     * @return 贷款配置集合
     */
    public List<CarLoan> selectCarLoanList(CarLoan carLoan);

    /**
     * 新增贷款配置
     * 
     * @param carLoan 贷款配置
     * @return 结果
     */
    public int insertCarLoan(CarLoan carLoan);

    /**
     * 修改贷款配置
     * 
     * @param carLoan 贷款配置
     * @return 结果
     */
    public int updateCarLoan(CarLoan carLoan);

    /**
     * 删除贷款配置
     * 
     * @param id 贷款配置主键
     * @return 结果
     */
    public int deleteCarLoanById(Long id);

    /**
     * 批量删除贷款配置
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCarLoanByIds(Long[] ids);
}
